// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// import Vuex from 'vuex'
// import store from './vuex/index'

import Vuex from 'vuex'
import store from './vuex/index'
// 导入轮播图插件：
import VueAwesomeSwiper from 'vue-awesome-swiper'

// 重置浏览器样式以及一边框像素问题
import 'styles/reset.css'
import 'styles/border.css'
// 轮播图css样式
import 'swiper/dist/css/swiper.css'

// 导入图标库
import 'styles/iconfont.css'

// 引入mint-ui组件
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

Vue.config.productionTip = false
// 注册使用轮播图
Vue.use(VueAwesomeSwiper /* { default global options } */)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
